package com.cslg.ac.demo.dao.user.po.person;

import java.util.Arrays;

public class PersonPO {
    int id;
    String personName;
    byte[] password;
    String salt;

    public PersonPO() {
    }
    //   int personNameType;//1.邮箱 2.电话号码

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public byte[] getPassword() {
        return password;
    }

    public void setPassword(byte[] password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    @Override
    public String toString() {
        return "PersonPO{" +
                "id=" + id +
                ", personName='" + personName + '\'' +
                ", password=" + Arrays.toString(password) +
                ", salt='" + salt + '\'' +
                '}';
    }

//    public int getPersonNameType() {
//        return personNameType;
//    }
//
//    public void setPersonNameType(int personNameType) {
//        this.personNameType = personNameType;
//    }
}
